package com.biz.primus.ms.member.degraded;

import com.biz.primus.model.misc.enums.SMSType;
import com.biz.primus.ms.member.feign.MiscFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * Misc feign client熔断策略,统一以Degraded+{对应feign client类名}来命名
 *
 * @author jun.liu
 * @date 2017/9/19
 */
@Component
@Slf4j
public class DegradedMiscFeignClient implements MiscFeignClient
{
    @Override
    public Boolean validateAndDisableSMSCode(String mobile, SMSType type, String smsCode)
    {
        return false;
    }

}
